package com.cmes.system.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmes.jdbc.entity.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;

/**
 * 字典项
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_sys_login_log")
public class LoginLogEntity extends Entity {

    @TableId
    private Long id;
    private Long userId;
    private String loginId;
    private String loginType;
    private LocalDateTime loginTime;
    private String loginIp;
    private String loginLocation;
    private String os;
    private Boolean result;
    private String msg;

}
